<!--
 * @Description: 根App组件
 * @Author bianpengfei
 * @create 2022/1/2 16:32
 -->
<!--setup-->
<script setup>
import { onMounted } from 'vue'
import themeVars from '~libs/style/vant/variables'

onMounted(() => {
  const loadingDOM = document.querySelector('#app-loading__index')
  if (loadingDOM?.nodeType == Node.ELEMENT_NODE) loadingDOM.style.display = 'none'
})
</script>

<!--render-->
<template>
  <van-config-provider :theme-vars="themeVars">
    <router-view></router-view>
  </van-config-provider>
</template>

<!--style-->
<style scoped lang="less"></style>
